<#assign ctx=request.contextPath />
<#import '${ctx}/sys/include/head.html' as d/>
<#import '${ctx}/sys/include/body.html' as c/>
<#import '${ctx}/sys/include/table/select.html' as select />
<#macro detail>
<!DOCTYPE html>
<html>
<head>
<@d.head title="def" />
<link rel="stylesheet" href="${ctx}/resource/css/chart/chart_def.css">
<script src="${ctx}/resource/antv/g2.js"></script>
<script src="${ctx}/resource/antv/dataset.js"></script>
</head>
<body>
<div class="layui-tab layui-tab-brief" lay-filter="graph_config">
    <ul class="layui-tab-title">
        <li class="layui-col-md1">图表展示</li>
        <li class="layui-col-md1 layui-this">图表设置</li>
        <div>
            <div class="layui-col-md2 layui-col-md-offset7">
                <button id="table_name" style="margin-left: 11px" class="layui-btn-primary layui-btn-sm">
                    图表名称：${chartName!'未命名图表'}
                </button>
            </div>
        </div>
        <div class="layui-col-md1">
            <button id="save_table" style="margin-left:30%;" class="layui-btn layui-btn-sm">
                保存图表
            </button>
        </div>
    </ul>
    <div class="layui-tab-content">
        <div class="layui-tab-item">
            <div class="layui-form">
                <label>数据过滤条件： </label>
                <a id="add_query_btn" class="layui-btn layui-btn-sm layui-btn-primary layui-btn-radius">
                    增加条件
                </a>
            </div>
            <div id="pic" class="text-center"></div>
        </div>
        <div class="layui-tab-item layui-show">
            <div class="layui-container" style="margin-top: 12px;">
                <div class="layui-row">
                	<#nested>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
</#macro>